package com.easy.util;

import lombok.Data;

@Data
public class Page {
    private Integer current;//页码
    private Integer limit;//每页显示的条数
    private Integer count;//表中数据总条数
    private  Object data;
    private Integer start;
    public Integer getStart() {
        return (current - 1) * limit;
    }
}
